home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmeGetDefaultPixel.z
/
XmeGetDefaultPixel
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll - Generates colors based on the screen
background color
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/XmP.h>
vvvvooooiiiidddd XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
iiiinnnntttt ttttyyyyppppeeee,
iiiinnnntttt ooooffffffffsssseeeetttt,
XXXXrrrrmmmmVVVVaaaalllluuuueeee ****vvvvaaaalllluuuueeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll generates a color associated with a
logical component of a widget. For example, you can use
XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellllto find the foreground color of _w_i_d_g_e_t.
XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll uses the screen's background color to
calculate the foreground, top shadow, bottom shadow, or
select color.
_w_i_d_g_e_t Specifies the widget.
_t_y_p_e Specifies the component of _w_i_d_g_e_t for which you
are requesting information. Specify one of the
following values:
XXXXmmmmBBBBAAAACCCCKKKKGGGGRRRROOOOUUUUNNNNDDDD
Specifies a request for the default
background color of the screen.
XXXXmmmmFFFFOOOORRRREEEEGGGGOOOOUUUUNNNNDDDD
Specifies a request for the generated
foreground color.
XXXXmmmmTTTTOOOOPPPP____SSSSHHHHAAAADDDDOOOOWWWW
Specifies a request for the generated
top shadow color. The top shadow is the
portion of the shadow that is generally
above and to the left of the widget.
XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____SSSSHHHHAAAADDDDOOOOWWWW
Specifies a request for the generated
bottom shadow color. The bottom shadow
is the portion of the shadow that is
generally below and to the right of the
widget.
XXXXmmmmSSSSEEEELLLLEEEECCCCTTTT Specifies a request for the generated
Page 1 (printed 10/24/98)
XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX))))
select color.
If you do not specify one of the preceding values,
XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll returns a warning message.
_o_f_f_s_e_t Specifies the byte offset of this field from the
beginning of the widget class. (XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll
currently ignores this field; this field is
provided solely for compatibility with the
Intrinsics.)
_v_a_l_u_e Returns the requested color.
RRRREEEELLLLAAAATTTTEEEEDDDD
None.
Page 2 (printed 10/24/98)